<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="com.carebuddy.petcare.controller.*"%>
<%@ page import="com.carebuddy.petcare.biz.*"%>
<%@ page import="com.db.vo.*"%>
<%@ page import="java.util.*"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	Carebuddy carebuddy = new Carebuddy();
	PetcareController petcareController = carebuddy.getPetcareController();
	UserController userController = carebuddy.getUserController();
	
	userController.getCookie(request, response);
	petcareController.searchPetcare(request, response);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../css/style.css" rel="stylesheet" type="text/css">
<title>나의 정보</title>
</head>
<body class="bodystyle">
	<table width="800" align="center" style="text-align:center;">
		<tr><td class="bigstyle"><b>${login_name}</b>&nbsp;님의 위탁/수탁내용</td></tr>
	</table>
	<table width="700" align="center" style="text-align:center;">
		<tr>
			<td>위탁/수탁</td>
			<td>분류</td>
			<td>시작</td>
			<td>종료</td>
			<td>상태</td>
		</tr>
		<c:forEach var="data" items="${list}" varStatus="st">
			 <tr onclick="location.href='mypage_conf.jsp?apply_id=${data.apply_id}&ws=${data.st_user_id}'" style="cursor:pointer">
				<td>${data.st_user_id}</td>
				<td>${data.category}</td>
				<td>${data.date}</td>
				<td>${data.tdate}</td>
				<td>${data.situ}</td>
			 </tr>
		</c:forEach>
	</table>
	<br><br><br>
</body>
</html>